Skip to content

style: apply vp formatter defaults and drop unused test variable - #6

Merged
thaolaptrinh merged 1 commit into
mainfrom
style/format-and-lint-cleanup
Aug 22, 2026
Merged

style: apply vp formatter defaults and drop unused test variable#6
thaolaptrinh merged 1 commit into
mainfrom
style/format-and-lint-cleanup

Conversation

@thaolaptrinh

Copy link
Copy Markdown
Owner

Summary

  • Apply vp fmt default formatting (line-width 100) to 7 files — pure reformatting, no logic changes: collapsed short multi-line expressions in src/upstream.ts / tests/upstream.test.ts, split over-long signatures in src/translate/openai.ts / tests/translate.test.ts, trailing-whitespace fix in README.md, removed a blank line in .github/workflows/ci.yml.
  • Fix the lint warning in tests/setup-opencode.test.ts: remove the unused consoleLogSpy variable (the spy is still installed and restored via vi.restoreAllMocks()).

Verification

  • vp check: pass — formatting OK, 0 lint warnings/errors, typecheck OK
  • vitest run: 154/154 passing
  • pnpm build: exit 0

Reformat 7 files with the default vp fmt style (line-width 100,
multi-line expression collapsing) — no logic changes. Also remove the
unused consoleLogSpy variable in tests/setup-opencode.test.ts flagged
by the linter; the spy is still installed and restored via
vi.restoreAllMocks().
@thaolaptrinh
thaolaptrinh merged commit 66fe795 into main Aug 22, 2026
2 checks passed
@thaolaptrinh
thaolaptrinh deleted the style/format-and-lint-cleanup branch August 22, 2026 13:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant